<?php
/**
 * Created by PhpStorm.
 * User: Soha_Ros
 * Date: 17/5/26
 * Time: 下午4:01
 */
namespace ActionsHttp;

use Data\Food_groups_DAO;

class RestaurantFoodGroupsGetList extends BaseActionHttp
{
    public function doAction() {

        parent::doAction();

        $restaurant_id = $_SESSION[RESTAURANT_ID];
        $restaurant_id = 1;

        // 获取分类列表
        $this->setValue(Food_groups_list,Food_groups_DAO::getArrayByRestaurantId($restaurant_id));

        // 返回数据
        $this->ResponseDataToCurrentClient();

    }
}